package com.cesc.demo.mode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.util.List;

@Data
@ApiModel("分页返回结果")
public class PageResult<T> {

    @ApiModelProperty(value = "总页数",example ="100",name="totalPage")
   private Long totalPage;

    @ApiModelProperty(value = "返回结果",name="records")
   private List<T> records;
}
